extends layout

block content
    div.container
        div.row
            div.col-sm-6.col-md-4.col-md-offset-4
                h1.text-center.login-title Ask a question  
                    div.account-wall
                        form(class='form-signin', action='/ask', method='POST')
                            input(type='text', name='title' class='form-control', placeholder='Title',required, autofocus)
                            input(type='text', name='requirements' class='form-control', placeholder='Requirements', required)
                            input(type='datetime-local', name='deadline' class='form-control', placeholder='Deadline', required)
                            button(class='btn btn-lg btn-primary btn-block', type='submit') Submit
                            span.clearfix
                    a(href='/home', class='text-center new-account') Home
                    #message
                    if message
                        h1.text-center.error-message #{message}